package com.vipsoft.base.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignConfig {

    /**
     * Feign 的详细日志，配合yml使用
     *logging:
     *   level:
     *     # feign 日志以什么级别监控哪个接口
     *     com.vipsoft.sehedule.service: debug
     * @return
     */
    @Bean
    Logger.Level fegnLoggerLevel(){
        return Logger.Level.FULL;
    }
}
